Automatic verification of safety for virtualized networks

ABSTRACT

Described are examples for providing a system for managing configuration and policies for a virtualized wide area network (vWAN) support on a wide area network (WAN). The vWAN includes a plurality of virtual network entities associated with geographic locations including the physical computing resources of the WAN and virtual connections between the virtual network entities. The system includes a network safety component for managing configurations and policies of the vWAN on the WAN. The network safety component receives a change to a policy or configuration of the vWAN from an operator of a network connected to the vWAN. The network safety component evaluates a set of safety rules for the operator based on the change and a network state of a physical WAN underlying the vWAN. The network safety component generates an error message in response to at least one of the set of safety rules failing the evaluation.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.17/359,241 titled “AUTOMATIC VERIFICATION OF SAFETY FOR VIRTUALIZEDNETWORKS,” filed Jun. 25, 2021, which is assigned to the assigneehereof, and incorporated herein by reference in its entirety.

BACKGROUND

Wide area networks may include computing resources spread across ageographic region and connected via communication links such as fiberoptic cables. The size of wide area networks may vary greatly from asmall city to a global network. For example, a WAN may connect multipleoffices of an enterprise, the customers of a regional telecommunicationsoperator, or a global enterprise. The computing resources andconnections within a WAN may be owned and controlled by the WANoperator.

In some scenarios, a WAN operator may want to expand the reach of theWAN, for example, to connect to an area where the WAN operator does nothave physical resources. A virtual WAN (vWAN) may be a service providedby a vWAN operator (e.g., the operator of a larger WAN), that allowssmaller WAN operators to share the computing resources and connectionsof the larger WAN. The vWAN operator may make service level agreements(SLAs) with the WAN operator to provide various computing and networkservices. For example, the vWAN operator may agree to host anapplication at one or more geographic locations, provide connectivity tothe application via the Internet, and provide connectivity between thegeographic locations with guaranteed metrics. In existing vWANs, the WANoperator may have little control over the underlying network of the vWANoperator. For example, the WAN operator may not control routingdecisions within the vWAN.

A network operator may be subject to various laws, regulations, andpolicies that govern network operation. One concern with using a vWAN isthat the WAN operator may unknowingly violate a law, regulation, orpolicy. For example, a government regulation that is applicable to theWAN operator may govern export of data. For instance, the regulation mayspecify that certain types of data may only be exported to countriesthat comply with certain standards. Similar policies may be requested byusers of the WAN. A vWAN may provide the network operator with theability to configure various aspects and policies within the vWAN. Thenetwork operator may unintentionally cause a change that violates a law,regulation, or policy. Accordingly, it may be desirable for a vWAN toprovide checks on network operator configuration of a vWAN.

SUMMARY

The following presents a simplified summary of one or more aspects inorder to provide a basic understanding of such aspects. This summary isnot an extensive overview of all contemplated aspects, and is intendedto neither identify key or critical elements of all aspects nordelineate the scope of any or all aspects. Its sole purpose is topresent some concepts of one or more aspects in a simplified form as aprelude to the more detailed description that is presented later.

In an example, an apparatus for managing policies for a virtualized widearea network (vWAN) is provided. The apparatus includes a memory storingone or more instructions for managing the vWAN and at least oneprocessor coupled to the memory and configured to execute theinstructions. The vWAN includes a plurality of virtual network entitiesassociated with geographic locations and virtual connections between thevirtual network entities. The at least one processor is configured toreceive a change to a policy and a configuration of the vWAN from anoperator of a network connected to the vWAN. The at least one processoris configured to evaluate a set of safety rules for the operator basedon the change and a network state of a physical WAN underlying the vWANto determine whether conditions of the safety rules can be satisfiedgiven the policy, the configuration, and the network state. The at leastone processor is configured to generate an error message in response toat least one of the set of safety rules failing the evaluation.

In another example, a method of managing policies for a vWAN isprovided. The method may include receiving a change to a policy and aconfiguration of the vWAN from an operator of a network connected to thevWAN. The vWAN includes a plurality of virtual network entitiesassociated with geographic locations and virtual connections between thevirtual network entities. The method includes evaluating a set of safetyrules for the operator based on the change and a network state of aphysical WAN underlying the vWAN to determine whether conditions of thesafety rules can be satisfied given the policy, the configuration, andthe network state. The method includes generating an error message inresponse to at least one of the set of safety rules failing theevaluation.

In another example, a system for managing configuration and policies fora vWAN is provided. The system includes a wide area network (WAN)including a plurality of geographically distributed physical computingresources and connections there between. The system includes a networkorchestrator including a memory storing one or more parameters orinstructions for managing the vWAN on the WAN and at least one processorcoupled to the memory. The vWAN includes a plurality of virtual networkentities associated with geographic locations including the physicalcomputing resources and virtual connections between the virtual networkentities. The at least one processor is configured to receive a changeto a policy and a configuration of the vWAN from an operator of anetwork connected to the vWAN. The at least one processor is configuredto evaluate a set of safety rules for the operator based on the changeand a network state of the WAN underlying the vWAN to determine whetherconditions of the safety rules can be satisfied given the policy, theconfiguration, and the network state. The at least one processor isconfigured to generate an error message in response to at least one ofthe set of safety rules failing the evaluation.

In some implementations, the at least one processor is configured toblock the change in response to at least one of the set of safety rulesfailing the evaluation.

In some implementations, the policy or configuration is a match actionrule.

In some implementations, the at least one processor is configured to:detect a change in the network state of the physical WAN underlying thevWAN; and evaluate the set of safety rules for the operator based on thepolicy and configuration for the operator and the network state inresponse to detecting the change in the network state.

In some implementations, the set of safety rules includes a reachabilityrule defining whether a first point in the vWAN can reach a second pointin the vWAN.

In some implementations, the set of safety rules includes a negativereachability rule that prevents traffic originating in a firstgeographic location from entering a second geographic location.

In some implementations, the set of safety rules includes a capacityrule defining whether the physical WAN underlying the vWAN can supportthe policy and configuration of the vWAN. Evaluating the capacity rulemay include evaluating the capacity rule for the operator in view ofother vWANs sharing the physical WAN.

In some implementations, the set of safety rules include a first set ofrules defining compliance with government regulations and a second setof rules defining operator selected rules.

In some implementations, the at least one processor is configured toreceive a selection of the set of safety rules from the networkoperator.

To the accomplishment of the foregoing and related ends, the one or moreaspects comprise the features hereinafter fully described andparticularly pointed out in the claims. The following description andthe annexed drawings set forth in detail certain illustrative featuresof the one or more aspects. These features are indicative, however, ofbut a few of the various ways in which the principles of various aspectsmay be employed, and this description is intended to include all suchaspects and their equivalents.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of an example of an architecture for a virtualizedwide area network (vWAN), in accordance with aspects described herein.

FIG. 2 is a diagram of an example set of safety rules for a vWAN, inaccordance with aspects described herein.

FIG. 3 is a schematic diagram of an example of a device for enforcingsafety rules for a vWAN, in accordance with aspects described herein.

FIG. 4 is a flow diagram of an example of a method of enforcing safetyrules for a vWAN, in accordance with aspects described herein.

FIG. 5 is a schematic diagram of an example of a device for performingfunctions described herein, in accordance with aspects described herein.

DETAILED DESCRIPTION

The detailed description set forth below in connection with the appendeddrawings is intended as a description of various configurations and isnot intended to represent the only configurations in which the conceptsdescribed herein may be practiced. The detailed description includesspecific details for the purpose of providing a thorough understandingof various concepts. However, it will be apparent to those skilled inthe art that these concepts may be practiced without these specificdetails. In some instances, well-known components are shown in blockdiagram form in order to avoid obscuring such concepts.

This disclosure describes various examples related to enforcement ofsafety rules in a virtualized network such a virtualized wide areanetwork (vWAN). A vWAN may be a service provided by an operator of awide area network (WAN), typically a WAN with a relatively largegeographic footprint. Another network operator may connect an operatornetwork to the vWAN to extend the operator network either geographicallyor functionally. For example, the vWAN may allow an operator network toexpand to a new geographic location or connect two remote locations. Asanother example, the vWAN may host services of the operator, the vWANoperator, or the 3^(rd) parties that may be provided to users of theoperator network.

In an aspect, a vWAN operator provides a vWAN portal to the networkoperator for configuration of the vWAN. For example, the networkoperator may be a customer of the vWAN. The vWAN portal allows thenetwork operator to configure various virtual network entities andpolicies within the vWAN. The vWAN portal may provide a representationof the vWAN including virtual network entities associated withrespective geographic locations and virtual connections between thevirtual network entities. The representation may be an abstraction of anunderlying WAN controlled by the vWAN operator. The representation ofthe vWAN may allow the vWAN operator to expose some aspects of theunderlying WAN architecture that may be useful for the network operatorto set policies. The representation of the vWAN, however, may hidedetails regarding physical resources. Accordingly, the vWAN operator maymodify the underlying WAN without changing the representation of thevWAN.

In an aspect, the present application provides a network safetycomponent configured to enforce a set of safety rules when a networkoperator makes changes to a vWAN configuration or policy. The safetyrules may be specified at a relatively higher level for multiple virtualnetwork entities or the entire vWAN. The configuration and policies maybe specified at a relatively lower level for individual virtual networkentities or virtual connections.

The network safety component may receive a configuration and/or policiesfrom the network operator via the vWAN portal and the representation ofthe vWAN. The network safety component may be configured with a set ofsafety rules that ensure compliance with higher level laws, regulations,or policies. For example, a law may specify that a class of traffic isnot to enter a certain geographical region. The change in configurationor policy may, for example, change routing rules at a virtual networkentity to select a faster or cheaper route. The network safety componentmay check whether the change to the configuration or policy would resultin a change that violates the law. For instance, the network safetycomponent may check that each of the nodes along a new path based on thenew configuration or policy is not within the specified geographicregion.

Turning now to FIGS. 1-5 , examples are depicted with reference to oneor more components and one or more methods that may perform the actionsor operations described herein, where components and/oractions/operations in dashed line may be optional. Although theoperations described below in FIG. 4 are presented in a particular orderand/or as being performed by an example component, the ordering of theactions and the components performing the actions may be varied, in someexamples, depending on the implementation. Moreover, in some examples,one or more of the actions, functions, and/or described components maybe performed by a specially-programmed processor, a processor executingspecially-programmed software or computer-readable media, or by anyother combination of a hardware component and/or a software componentcapable of performing the described actions or functions.

FIG. 1 is a conceptual diagram 100 of an example of an architecture fora vWAN 120. The vWAN 120 may be connected to an operator network 110.The vWAN 120 may be implemented by an underlying WAN 160. A networksafety component 140 may enforce safety rules when a network operator ofthe operator network 110 makes changes to a configuration or policy ofthe vWAN 120.

The operator network 110 may be a customer of the vWAN 120. The operatornetwork 110 may be, for example, a radio access network (RAN) includinga user device 104 and a base station 102. The operator network 110 maybe connected to the vWAN 120 at a boundary 112 to expand the operatornetwork 110. For instance, the vWAN 120 may provide a connection to3^(rd) party services 128 that are hosted on the vWAN or the vWAN 120may host services of the operator network 110. Additionally, the vWAN120 may include virtual network entities (e.g., virtual network entity124), which may represent a presence in a geographic region where theoperator network 110 does not have physical resources. In someimplementations, the vWAN 120 may include a virtualized radio accessnetwork (vRAN). For instance, the vWAN 120 may perform functions of acore network or may include virtualized base stations that perform RANprocessing.

A vWAN operator may provide vWAN portal 114 to a network operator. ThevWAN portal 114 may include a representation of the vWAN 120. Forinstance, the representation of the vWAN 120 may include virtual networkentities 122, 124, and 126 and virtual connections 132, 134, and 136.The virtual network entities 122, 124, and 126 may each be associatedwith a respective geographic location 190, 192, 194, 196. The geographiclocations 190, 192, 194, 196 may be of different sizes. For example, ageographic location may be a city, a state, a region, or a country. Insome implementations, a geographic location is associated with a pointof presence. In the illustrated example, the virtual network entities122, 124, and 126 are labelled West, East, and South, respectively. Thevirtual network entity 122 may be associated with a geographic location192, the virtual network entity 124 may be associated with a geographiclocation 194, and the virtual network entity 126 may be associated witha geographic location 196.

The vWAN 120 may be implemented by an underlying WAN 160. In theunderlying WAN 160, physical resources may be located within eachgeographic location corresponding to a virtual network entity. Forexample, the geographic location 192 associated with virtual networkentity 122 may include physical resources 162, 164, and 166, thegeographic location 194 associated with virtual network entity 124 mayinclude physical resources 170 and 172, and the geographic location 196associated with virtual network entity 126 may include physicalresources 180 and 182. The geographic location 190 may represent ageographic location where the underlying WAN 160 does not have anyphysical resources. The vWAN 120 may not include a virtual networkentity corresponding to the geographic location 190.

The virtual connections 132, 134, and 136 may represent connectionsbetween virtual network entities. The virtual connections 132, 134, and136 may be implemented by the underlying WAN using any connections inthe underlying WAN 160. For instance, in the illustrated example, thevirtual connection 132 may not correspond to a direct physicalconnection between any resource in the geographic region associated withthe virtual network entity 122 and any resource in the geographic regionassociated with the virtual network entity 124. That is, the illustratedconnection 174 may not exist. Instead, the virtual connection 132 mayrepresent any path from a physical resource within the geographic regionassociated with the virtual network entity 122 to any resource in thegeographic region associated with the virtual network entity 124,including resources and/or connections within the geographic regionassociated with the virtual network entity 126.

In an aspect, the vWAN portal 114 allows the network operator to set aconfiguration and/or policies for the virtual network entities 122, 124,126 or the virtual connections 132, 134, and 136. In someimplementations, the configuration and/or policies may include matchaction rules that apply actions to traffic matching various criteria.For example, the network operator may host a service on the virtualnetwork entity 124 and/or want to provide user devices 104 with accessto a 3^(rd) party service 128 connected to the virtual network entity124. The network operator may configure the virtual network entity 122as an ingress point and specify a firewall and routing configuration forthe virtual network entity 122. The network operator may also configurea policy of the virtual connection 132 to provide a desired level ofservice for traffic between the network entity 122 and the networkentity 124.

The network safety component 140 may be configured with a set of safetyrules 148 to ensure that changes to the configuration and/or policy ofthe vWAN do not violate higher level laws, regulations, or policies. Inparticular, the network safety component 140 may evaluate the safetyrules 148 based on a configuration and/or policies of the vWAN and anetwork status of the underlying WAN 160. If at least one of the safetyrules fails the evaluation, the network safety component 140 maygenerate an error message and/or block a change from taking place. Thenetwork safety component 140 may determine whether the change inconfiguration or policy, or a current network status, results in aviolation of a set of safety rules 148.

The network safety component 140 may include a policy configurationcomponent 142 that receives the change to the policy or configuration ofthe vWAN from a network operator of a network connected to the vWAN 120(e.g., the operator network 110). The network safety component 140includes a rule evaluation component 144 that evaluates the safety rules148 for the operator based on the change and a network state of theunderlying WAN 160. The network safety component 140 includes an errorcomponent 146 that generates an error message in response to at leastone of the set of safety rules 148 failing the evaluation. In someimplementations, the error component 146 may block the change inresponse to at least one of the set of safety rules 148 failing theevaluation.

In some implementations, the network safety component 140 may include anetwork configuration component 150. The network configuration component150 may configure the underlying WAN 160 to implement the change if allof the safety rules 148 pass the evaluation. In some implementations,the network safety component 140 may include a network state component152. The network state component 152 may monitor a state of theunderlying WAN 160. For instance, the network state component 152 maydetect when physical resources of the underlying WAN 160 areunavailable. The network state component 152 may provide network stateinformation to the rule evaluation component 144. In someimplementations, the network state component 152 may trigger anevaluation of the safety rules 148 in response to a change in thenetwork state.

FIG. 2 is a diagram 200 of an example set of safety rules 148. Ingeneral, each safety rule may include executable code or a scriptincluding one or more conditions that may be evaluated based on aconfiguration and state of the underlying network. In an aspect, thevWAN operator may provide the set of safety rules 148 to the networkoperator via the vWAN portal 114. The vWAN portal 114 may describe theconditions for each rule without exposing the specific code orarchitecture of the underlying WAN 160.

In some implementations, the network operator may select which of thesafety rules 148 the network safety component 140 should enforce. Insome implementations, one or more of the safety rules may be mandatory.For example, the vWAN operator may require that safety rules to ensurecompliance with applicable laws are evaluated or that safety rules toprevent network outages or damage are evaluated. In someimplementations, the network rules may include selectable parameters.For instance, a reliability rule may include a selectable number offailures. In some implementations, a network operator may request acustomized rule. The vWAN operator may create the customized rule as acodelet or script and make the customized rule available to one or morenetwork operators.

A reachability rule 210 may specify whether a first virtual networklocation is reachable from a second virtual network location for one ormore classes of traffic. For example, a positive reachability rule 212may specify that point A is reachable from point B by class C traffic. Anetwork operator may specify a network entity 124 hosting a subscriptionservice as point A, any ingress point as point B, and traffic from aclass of user devices with a subscription as class C. The ruleevaluation component 144 may check that each ingress point (e.g.,virtual network entity 122) includes a resource (e.g., server 162) witha path to a resource (e.g., server 172) in the virtual network entity124. The rule evaluation component 144 may further check that each nodealong the path is configured to forward traffic for the class C alongthe path.

As another example, a negative reachability rule 214 may specify that apoint D is not reachable by a traffic class E. For instance, a networkadministration system hosted on a virtual network entity 126 is notreachable from traffic originating at a user device 104. The ruleevaluation component 144 may check that connections to the virtualnetwork entity 126 are configured to block traffic from user devices104.

A correctness rule 220 may check that network parameters are valid. Forexample, the rule evaluation component 144 may check that configuredentity names and addresses correspond to virtual or physical entities.As another example, a correctness rule 220 may check that all traffic ishandled (e.g., default rules are defined).

A capacity rule 230 may check that the underlying WAN 160 can support apolicy or configuration specified by the operator. Evaluation of acapacity rule may depend on a current network state and/or aconfiguration of other vWANs sharing the underlying WAN 160. Forinstance, a policy for virtual connection 132 may specify a bandwidthand latency for traffic over the virtual connection. The capacity rule230 may identify one or more paths within the underlying WAN 160 thatsupport the requested latency. The capacity rule 230 may identify atotal capacity of the identified paths and an allocated capacity forother vWANs. The capacity rule 230 may determine whether a remainingavailable capacity for the identified paths can satisfy the requestedcapacity.

A reliability rule 240 may check that a configuration can be expected toprovide a specified availability (e.g., available 99.999% of the time)for a service or that the configuration of the service can tolerate anumber of failed nodes. For example, the rule evaluation component 144may evaluate a reliability rule 240 by determining a whether a number ofalternative paths is greater than the number of failed nodes. As anotherexample, the reliability rule may monitor metrics for the service andgenerate an error message when the specified reliability is notachieved.

A regulatory rule 250 may be based on a specific law or regulation ofone or more geographic regions. A regulatory rule 250 may include one ormore rules of other types. In some implementations, the underlying WAN160 may span multiple geographic regions. The rule evaluation component144 may evaluate a regulatory rule 250 for traffic originating within anapplicable geographic region. For example, in the case of a law orregulation that specifies a geographic restriction on a type of traffic,a regulatory rule 250 may include a reachability rule 210 to enforce thegeographic restriction.

A conflicts rule 260 may check that a configuration and/or policy fordifferent virtual network entities or virtual connections do notconflict with each other. A conflicts rule 260 may allow resolution ofconflicts based on priority. For example, if a policy for a virtualconnection specifies a maximum latency and a routing configurationexcludes a geographic location with a fastest path, the conflicts rule260 may detect a conflict but allow resolution based on a higherpriority of the routing configuration.

FIG. 3 is a schematic diagram of an example of a device 300 (e.g., acomputing device) for providing enforcement of safety rules in a vWAN.The device 300 may be referred to as a network orchestrator. The device300 may be implemented on a physical resource within the underlying WAN160. For instance, the device 300 may be implemented at the server 180.The device 300 may communicate with a network operator via a portal,which may be accessed from outside the underlying WAN 160 (e.g., via aweb site). For example, the device 300 may generate the vWAN portal 114as an externally accessible website.

In an example, device 300 can include a processor 302 and/or memory 304configured to execute or store instructions or other parameters relatedto providing an operating system 306, which can execute one or moreapplications or processes, such as, but not limited to, at least one ofthe network safety component 140 for enforcing safety rules based onconfiguration, policy, or network state. For example, processor 302 andmemory 304 may be separate components communicatively coupled by a bus(e.g., on a motherboard or other portion of a computing device, on anintegrated circuit, such as a system on a chip (SoC), etc.), componentsintegrated within one another (e.g., processor 302 can include thememory 304 as an on-board component), and/or the like. Memory 304 maystore instructions, parameters, data structures, etc. for use/executionby processor 302 to perform functions described herein.

In an example, the network safety component 140 may include one or moreof a policy configuration component 142 for receiving a change to apolicy or configuration of the vWAN from an operator of a networkconnected to the vWAN, a rule evaluation component 144 for evaluating aset of safety rules for the operator based on the change and a networkstate of a physical WAN underlying the vWAN, and an error component forgenerating an error message in response to at least one of the set ofsafety rules failing the evaluation. The network safety component 140may store the safety rues 148. The network safety component 140 mayoptionally include one or more of a network configuration component 150or network state component 152.

The policy configuration component 142 may be configured to receive achange to a policy or configuration of the vWAN from an operator of anetwork connected to the vWAN. Example policies that may be set by theoperator include routing policy, performance policy, peering policy,geographic policy, or and hardware constraints. For example, a routingpolicy may specify a route including a specific virtual connection touse or a specific virtual network entity as a destination for a class oftraffic. A performance policy may specify a traffic tier or a specificperformance metric to be targeted for a class of traffic. A peeringpolicy may specify a peering between an operator network and a vWANnetwork entity. A geographic policy may specify geographic regions for atraffic class. In particular, a geographic policy may specify geographicregions (e.g., countries) that traffic is not allowed to traverse. Ahardware constraint may specify restrictions on hardware. For example, ahardware constraint may specify that equipment from a vendor with knownsecurity vulnerabilities is not to be used. A configuration may refer toactions to be performed at a virtual network entity 122, 124, 126. Forexample, a configuration may include services hosted on the virtualnetwork entity, a firewall configuration, or a routing configuration.

The rule evaluation component 144 may be configured to evaluate a set ofsafety rules for the operator based on the change and a network state ofa physical WAN underlying the vWAN. For example, where the safety rules148 include executable code including logical conditions, the ruleevaluation component 144 may execute each configured rule. Duringexecution, the rules may access the received policy or configurationinformation and channel state information (e.g., from the network statecomponent 152). In some implementations, the rule evaluation component144 may utilize a satisfiability modulo theory (SMT) solver to evaluatea rule. For example, the rule evaluation component 144 may translateconditions of the rule into SMT formulas to determine of the conditionscan be satisfied given a current network state. In some implementations,the rule evaluation component 144 may utilize a binary decision diagram(BDD) or branching program. In some implementations, the rule evaluationcomponent 144 may output a pass or fail for each safety rule 148.

The error component 146 may be configured to generate an error messagein response to at least one of the set of safety rules failing theevaluation. For example, the error component 146 may generate an errormessage at the vWAN portal 114 to display the error message to thenetwork operator. Accordingly, the network operator may further changethe policy or configuration in response to the error message in order tosatisfy the safety rules 148. In some implementations, the errorcomponent 146 may be configured to block the change in response to atleast one of the set of safety rules failing the evaluation. Forexample, the error component 146 may forward the policy or configurationto the network configuration component 150 in response to all of thesafety rules 148 passing, but may not forward the policy orconfiguration to the network configuration component 150 in response toone or more of the safety rules 148 failing. In some implementations,each safety rule 148 may indicate whether to generate an error messageand/or whether to block implementation if the safety rule fails.

The network configuration component 150 may be configured to translatethe configuration or policy for the virtualized wide area network into aconfiguration of the underlying WAN 160. For example, the networkconfiguration component 150 may configure individual computing resourceswithin the underlying WAN 160. For instance, the network configurationcomponent 150 may set routing tables on routers or configure services tobe performed on servers. In some implementations, the networkconfiguration component 150 may include a network optimizer thatattempts to reduce a cost metric while satisfying performancerequirements. In an aspect, the network configuration component 150 maytrigger the rule evaluation component 144 to evaluate the safety rules148 based on a specific configuration of the underlying WAN 160 or achange thereto.

The network state component 152 may be configured to detect a change inthe network state of the physical WAN 160 underlying the vWAN 120. Forexample, the network state component 152 may receive reports of failuresof physical resources. As another example, the network state component152 may track performance metrics and determine a degraded network statein response to degraded performance metrics. The network state component152 may provide network state information (e.g., availability status ofphysical resources) to the rule evaluation component 144.

FIG. 4 is a flow diagram of an example of a method 400 for evaluating aconfiguration and policies for a vWAN based on a set of safety rules.For example, the method 400 can be performed by a device 300 and/or oneor more components thereof to configure the underlying WAN 160 based ona change in configuration and policies of the vWAN 120 selected by anoperator.

At block 410, the method 400 includes receiving a change to a policy orconfiguration of the vWAN from an operator. The vWAN includes aplurality of virtual network entities associated with geographiclocations and virtual connections between the virtual network entities.In an example, the policy configuration component 142, e.g., inconjunction with processor 302, memory 304, and operating system 306,can receive a change to a policy or configuration of the vWAN 120 froman operator (e.g., via the vWAN portal 114). The vWAN includes aplurality of virtual network entities 122, 124, 126 associated withgeographic locations 192, 194, 196, and virtual connections 132, 134,136 between the virtual network entities.

At block 420, the method 400 includes evaluating a set of safety rulesfor the operator based on the change and a network state of a physicalWAN underlying the vWAN. In an example, the rule evaluation component144, e.g., in conjunction with processor 302, memory 304, and operatingsystem 306, can evaluating a set of safety rules 148 for the operatorbased on the change and a network state of a physical WAN 160 underlyingthe vWAN 120. For instance, at sub-block 422, the block 420 may includeevaluating a capacity rule for the operator in view of other vWANssharing the physical WAN. For instance, the rule evaluation component144 may assume that capacity allocated to the other vWANs is notavailable to satisfy the capacity rule.

At block 430, the method 400 includes generating an error message inresponse to at least one of the set of safety rules failing theevaluation. In an example, the error component 146, e.g., in conjunctionwith processor 302, memory 304, and operating system 306, can generatethe error message in response to at least one of the set of safety rules148 failing the evaluation in block 420. For example, the errorcomponent 146 may present the error message via the vWAN portal 114. Forexample, the error component 146 may present the error message inresponse to the operator submitting the change to the configuration orpolicy. In some implementations, where multiple changes are submitted atonce, the error component 146 may identify particular configurations orpolicies and the corresponding safety rules that failed the evaluation.In some implementations, the error message may be included in a logfile.

At block 440, the method 400 may optionally include blocking the changein response to at least one of the set of safety rules failing theevaluation. In an example, the error component 146, e.g., in conjunctionwith processor 302, memory 304, and operating system 306, can block thechange in response to at least one of the set of safety rules failingthe evaluation. For instance, the error component 146 may block thespecific change in configuration or policy that caused the evaluation ofthe safety rule to fail. In some implementations, where multiple changesare submitted at once, the error component 146 may block all of thechanges.

At block 450, the method 400 may optionally include detecting a changein the network state of the physical WAN underlying the vWAN. In anexample, the network state component 152, e.g., in conjunction withprocessor 302, memory 304, and operating system 306, can detect thechange in the network state of the physical WAN underlying the vWAN.Example changes in the network state may include unavailability of aphysical resource. For instance, a server 162 may be affected by a poweroutage or a physical connection may be damaged. In some implementations,the network state may include a load level at one or more physicalresources. The load level may account for other vWANs sharing thephysical WAN.

At block 460, the method 400 may optionally include evaluating the setof safety rules for the operator based on the policy and configurationfor the operator and the network state in response to detecting thechange in the network state. The evaluation in block 460 may be similarto the evaluation in block 420, but with a different network state. Forexample, the rule evaluation component 144, e.g., in conjunction withprocessor 302, memory 304, and operating system 306, can evaluating theset of safety rules 148 for the operator based on the policy andconfiguration for the operator and the network state of the underlyingWAN 160.

FIG. 5 illustrates an example of a device 500 including additionaloptional component details as those shown in FIG. 3 . In one aspect,device 500 may include processor 502, which may be similar to processor302 for carrying out processing functions associated with one or more ofcomponents and functions described herein. Processor 302 can include asingle or multiple set of processors or multi-core processors. Moreover,processor 502 can be implemented as an integrated processing systemand/or a distributed processing system.

Device 500 may further include memory 504, which may be similar tomemory 304 such as for storing local versions of operating systems (orcomponents thereof) and/or applications being executed by processor 502,such as network safety component 140, policy configuration component142, rule evaluation component 144, error component 146, etc. Memory 504can include a type of memory usable by a computer, such as random accessmemory (RAM), read only memory (ROM), tapes, magnetic discs, opticaldiscs, volatile memory, non-volatile memory, and any combinationthereof.

Further, device 500 may include a communications component 506 thatprovides for establishing and maintaining communications with one ormore other devices, parties, entities, etc. utilizing hardware,software, and services as described herein. Communications component 506may carry communications between components on device 500, as well asbetween device 500 and external devices, such as devices located acrossa communications network and/or devices serially or locally connected todevice 500. For example, communications component 506 may include one ormore buses, and may further include transmit chain components andreceive chain components associated with a wireless or wired transmitterand receiver, respectively, operable for interfacing with externaldevices.

Additionally, device 500 may include a data store 508, which can be anysuitable combination of hardware and/or software, that provides for massstorage of information, databases, and programs employed in connectionwith aspects described herein. For example, data store 508 may be or mayinclude a data repository for operating systems (or components thereof),applications, related parameters, etc. that are not currently beingexecuted by processor 502. In addition, data store 508 may be a datarepository for safety rules 148 storing configured rules for eachoperator and/or a data repository for network state component 152storing a status or configuration for each physical resource.

Device 500 may optionally include a user interface component 510operable to receive inputs from a user of device 500 and furtheroperable to generate outputs for presentation to the user. Userinterface component 510 may include one or more input devices, includingbut not limited to a keyboard, a number pad, a mouse, a touch-sensitivedisplay, a navigation key, a function key, a microphone, a voicerecognition component, a gesture recognition component, a depth sensor,a gaze tracking sensor, a switch/button, any other mechanism capable ofreceiving an input from a user, or any combination thereof. Further,user interface component 510 may include one or more output devices,including but not limited to a display, a speaker, a haptic feedbackmechanism, a printer, any other mechanism capable of presenting anoutput to a user, or any combination thereof.

Device 500 may additionally include network safety component 140 forenforcing safety rules, as described herein.

By way of example, an element, or any portion of an element, or anycombination of elements may be implemented with a “processing system”that includes one or more processors. Examples of processors includemicroprocessors, microcontrollers, digital signal processors (DSPs),field programmable gate arrays (FPGAs), programmable logic devices(PLDs), state machines, gated logic, discrete hardware circuits, andother suitable hardware configured to perform the various functionalitydescribed throughout this disclosure. One or more processors in theprocessing system may execute software. Software shall be construedbroadly to mean instructions, instruction sets, code, code segments,program code, programs, subprograms, software modules, applications,software applications, software packages, routines, subroutines,objects, executables, threads of execution, procedures, functions, etc.,whether referred to as software, firmware, middleware, microcode,hardware description language, or otherwise.

Accordingly, in one or more aspects, one or more of the functionsdescribed may be implemented in hardware, software, firmware, or anycombination thereof. If implemented in software, the functions may bestored on or encoded as one or more instructions or code on acomputer-readable medium. Computer-readable media includes computerstorage media. Storage media may be any available media that can beaccessed by a computer. By way of example, and not limitation, suchcomputer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or otheroptical disk storage, magnetic disk storage or other magnetic storagedevices, or any other medium that can be used to carry or store desiredprogram code in the form of instructions or data structures and that canbe accessed by a computer. Disk and disc, as used herein, includescompact disc (CD), laser disc, optical disc, digital versatile disc(DVD), and floppy disk where disks usually reproduce data magnetically,while discs reproduce data optically with lasers. Combinations of theabove should also be included within the scope of computer-readablemedia.

The previous description is provided to enable any person skilled in theart to practice the various aspects described herein. Variousmodifications to these aspects will be readily apparent to those skilledin the art, and the generic principles defined herein may be applied toother aspects. Thus, the claims are not intended to be limited to theaspects shown herein, but is to be accorded the full scope consistentwith the language claims, wherein reference to an element in thesingular is not intended to mean “one and only one” unless specificallyso stated, but rather “one or more.” Unless specifically statedotherwise, the term “some” refers to one or more. All structural andfunctional equivalents to the elements of the various aspects describedherein that are known or later come to be known to those of ordinaryskill in the art are expressly incorporated herein by reference and areintended to be encompassed by the claims. Moreover, nothing disclosedherein is intended to be dedicated to the public regardless of whethersuch disclosure is explicitly recited in the claims. No claim element isto be construed as a means plus function unless the element is expresslyrecited using the phrase “means for.”

What is claimed is:
 1. An apparatus for enforcing safety rules on avirtualized wide area network (vWAN), comprising: a memory storing oneor more instructions for managing the vWAN, wherein the vWAN includes aplurality of virtual network entities associated with geographiclocations and virtual connections between the virtual network entities,wherein the vWAN includes a plurality of virtual network entitiesassociated with geographic locations and virtual connections between thevirtual network entities, each virtual connection associated with apolicy to provide a desired level of service for traffic between a pairof virtual network entities; and at least one processor coupled to thememory and configured to execute the instructions, wherein the at leastone processor is configured to: receive, for a virtual connectionbetween a first virtual entity in the vWAN and a second virtual entityin the vWAN, a change to a policy for the virtual connection or a changeto a configuration of the virtual connection from an operator of anetwork connected to the vWAN; detect a network state of a physical WANunderlying the vWAN; evaluate a set of safety rules for the operatorbased on the network state of the physical WAN and the change to thepolicy or the change to the configuration of the virtual connection ofthe VWAN to determine whether conditions of the set of safety rules canbe satisfied given the change to the policy or the configuration, andthe network state; and generate an error message in response to at leastone of the set of safety rules failing the evaluation.
 2. The apparatusof claim 1, wherein the network state indicates when one or morephysical resources of the physical WAN are unavailable.
 3. The apparatusof claim 1, wherein the network state indicates performance metrics ofthe physical WAN.
 4. The apparatus of claim 1, wherein the network stateincludes a load level at one or more physical resources of the physicalWAN.
 5. The apparatus of claim 1, wherein the at least one processor isconfigured to block the change in response to at least one of the set ofsafety rules failing the evaluation.
 6. The apparatus of claim 1,wherein the policy or configuration is a match action rule.
 7. Theapparatus of claim 1, wherein the set of safety rules includes anegative reachability rule that prevents traffic originating in a firstgeographic location from entering a second geographic location.
 8. Theapparatus of claim 1, wherein the set of safety rules includes acapacity rule defining whether the physical WAN underlying the vWAN cansupport the policy and configuration of the vWAN.
 9. The apparatus ofclaim 8, wherein evaluating the capacity rule includes evaluating thecapacity rule for the operator in view of other vWANs sharing thephysical WAN.
 10. The apparatus of claim 1, wherein the set of safetyrules include a first set of rules defining compliance with governmentregulations and a second set of rules defining operator selected rules.11. The apparatus of claim 1, wherein the at least one processor isconfigured to receive a selection of the set of safety rules from thenetwork operator.
 12. A method of enforcing safety rules on avirtualized wide area network (vWAN), comprising: receiving, for avirtual connection between a first a first virtual entity in the vWANand a second virtual entity in the vWAN, a change to a policy for thevirtual connection or a change to a configuration of the virtualconnection from an operator of a network connected to the vWAN, whereinthe vWAN includes a plurality of virtual network entities associatedwith geographic locations and virtual connections between the virtualnetwork entities each virtual connection associated with a respectivepolicy to provide a desired level of service for traffic between a pairof virtual network entities; detecting a network state of a physical WANunderlying the vWAN; evaluating a set of safety rules for the operatorbased on the network state of the physical WAN and the change to thepolicy or the change to the configuration of the virtual connection todetermine whether conditions of the safety rules can be satisfied giventhe policy, the configuration, and the network state; and generating anerror message in response to at least one of the set of safety rulesfailing the evaluation.
 13. The method of claim 12, wherein the networkstate includes an availability, a load level, or a performance metricfor physical resources of the physical WAN.
 14. The method of claim 12,further comprising blocking the change in response to at least one ofthe set of safety rules failing the evaluation.
 15. The method of claim12, wherein the policy or configuration is a match action rule.
 16. Themethod of claim 12, wherein the set of safety rules includesrestrictions that prevent traffic originating in a first geographiclocation from entering a second geographic location.
 17. The method ofclaim 12, wherein the set of safety rules includes capacity rulesdefining whether the physical WAN underlying the vWAN can support thepolicy and configuration of the vWAN.
 18. The method of claim 17,wherein evaluating the capacity rules includes evaluating the capacityrules for the operator in view of other vWANs sharing the physical WAN.19. The method of claim 12, wherein the set of safety rules include afirst set of rules defining compliance with government regulations and asecond set of rules defining operator rules.
 20. A system for enforcingsafety rules on a virtualized wide area network (vWAN), comprising: aphysical wide area network (WAN) including a plurality of geographicallydistributed physical computing resources and connections there between;and a network orchestrator including a memory storing one or moreparameters or instructions for managing the vWAN on the physical WAN andat least one processor coupled to the memory, wherein the vWAN includesa plurality of virtual network entities associated with geographiclocations including the physical computing resources and virtualconnections between the virtual network entities, each virtualconnection associated with a respective policy to provide a desiredlevel of service for traffic between a pair of virtual network entities,and wherein the at least one processor is configured to: receive, for avirtual connection between a first a first virtual entity in the vWANand a second virtual entity in the vWAN, a change to a policy for thevirtual connection or a change to a configuration of the virtualconnection from an operator of a network connected to the vWAN; detect anetwork state of a physical WAN underlying the vWAN; evaluate a set ofsafety rules for the operator based on the network state of the physicalWAN and the change the policy or the change to the configuration of thevirtual connection of the vWAN to determine whether conditions of thesafety rules can be satisfied given the policy, the configuration, andthe network state; and generate an error message in response to at leastone of the set of safety rules failing the evaluation.